<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
	xmlns:form="http://www.springframework.org/tags/form"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:c="http://java.sun.com/jsp/jstl/core">
	<jsp:directive.page language="java"
		contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" />
	<html>
<head><jsp:text>
	<![CDATA[ 
        <script type="text/javascript" src="${pageContext.request.contextPath}/pages/user/js/index.js"></script>]]>
</jsp:text>
</head>

<body>

	<form:form method="POST" commandName="new-user" action="create">
		<form:errors path="*" cssClass="alert-message" />

		<div class="row">
			<div class="form-label">
				<label>Name:</label>
			</div>
			<div class="form-input-medium">
				<form:input path="name" />
			</div>
		</div>
		<div class="row">
			<div class="form-label">
				<label>Lastname:</label>
			</div>
			<div class="form-input-medium">
				<form:password path="lastname" />
			</div>
		</div>
		<div class="row">
			<div class="form-label">
				<label>Gender :</label>
			</div>
			<div class="form-input-medium">
				<form:radiobutton path="gender" value="M" label="M" class="inline" />
				<form:radiobutton path="gender" value="F" label="F" />
			</div>
		</div>
		<div class="row">
			<div class="buttons">
				<input type="submit" value="Send" />
			</div>
		</div>
	</form:form>
</body>
	</html>
</jsp:root>